/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.ugame.utility;

/**
 *
 * @author user
 */
public class StringEscape {

    private static StringEscape instance;

    public static StringEscape getInstance() {
        if (instance == null) {
            instance = new StringEscape();
        }
        return instance;
    }

    public String escapeHtml(String str) {
        String result = str.replaceAll("'", "''");
        return result;
    }
}
